#ifndef PHYSICS_H_INCLUDED
#define PHYSICS_H_INCLUDED

#include "sceneObjs.h"

extern Vector    GRAVITATION;
extern Vector    WIND;
extern double    DRAGCOEF;
extern double    TIME;
extern double    FINISH_TIME;
extern double    STEPSIZE;

extern Box       myBox;
extern Particles myParticles;

//function to be parallelized...........
void Euler();                                       // Euler integration
void RK4();                                         // RK4 integration
void computeAcceleration( Particles &myParticles ,
                                Box &myBox       ); // compute acceleration vector of each particle

void resolveCollision( Particles &myParticles ,
                             Box &myBox );          // collision detection & response


#endif // PHYSICS_H_INCLUDED
